import 'package:flutter/cupertino.dart';
import 'package:wuxu_flutter_lianxi/dao/dao_result.dart';
import 'package:wuxu_flutter_lianxi/net/api_urls.dart';
import 'package:wuxu_flutter_lianxi/net/http_managert.dart';

///
/// 首页列表
///
class HomeListDao{
  static getHomeListData() async{
    //1. 获取数据库数据

    //2. 网络请求
   var res =  await httpManager.netFetch(url_new_list, null);

   debugPrint("结果：${res.data["result"]}");
   return DataResult(res.data["result"], res.result);
  }
}